package com.xmut.mall.member.dao;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xmut.mall.member.entity.MemberEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xmut.mall.member.searchparam.MemberComponentsSearchParam;
import com.xmut.mall.member.vo.ManagerMemberComponentsPageVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 会员
 * 
 * @author 1912120131suntingxing
 * @email 1192081604@qq.com
 * @date 2022-07-14 01:20:46
 */
@Mapper
public interface MemberDao extends BaseMapper<MemberEntity> {

    /**
     * 获取商城官方管理端的会员选择组件的分页数据
     * @param initPage
     * @param param
     * @return
     */
    IPage<ManagerMemberComponentsPageVo> getManagerMemberComponentsPage(Page<Object> initPage,@Param("param") MemberComponentsSearchParam param);
}
